<?php
/**
 * Clase FN para ArFacturaLineaFN
 *
 * @package    
 * @subpackage ArFacturaLineaFN
 * @author     hans
 * @version    SVN:: ArFacturaLineaFN.class.php,v 1.1 2012-05-04 01:34:51 Hans.parra Exp $
 */
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/common/conexion.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/so/facturas/BFN/BaseArFacturaLineaFN.class.php');
require_once('class/im/articulos/FN/ImArticuloFN.class.php');

class ArFacturaLineaFN extends BaseArFacturaLineaFN
{

 public function selectArFacturaItemDetalle()
  {
    $o_ArFacturaLineaFN = $this->select();
		if($o_ArFacturaLineaFN)
		{
			foreach ($o_ArFacturaLineaFN as $key => $obj)
			{
				/*detalle de Articulo*/
				$o_ImArticuloFN = new ImArticuloFN();
				$o_ImArticuloFN->setArticuloId($obj->getArtId());
				$obj->set_oDetalleItemBean($o_ImArticuloFN->selectByPK());
			}
		}
	return $o_ArFacturaLineaFN;
  }

}